package com.fh.entity.Product;

import org.apache.james.mime4j.field.datetime.DateTime;

public class Product {

	private String PRODUCTNO;//商品编号
	private String PRODUCTNAME;//商名名称
	private String PDATE; //生产日期
	private String PRODUCTCLASS;//商品类别
	private Double PRODUCTPRICE;//商品价格
	private String PRODUCTID;//商品ID
	private String GROUPID;//部门ID
	private Group group;//部门对象
	public String getPRODUCTNO() {
		return PRODUCTNO;
	}
	public void setPRODUCTNO(String pRODUCTNO) {
		PRODUCTNO = pRODUCTNO;
	}
	public String getPRODUCTNAME() {
		return PRODUCTNAME;
	}
	public void setPRODUCTNAME(String pRODUCTNAME) {
		PRODUCTNAME = pRODUCTNAME;
	}
	public String getPDATE() {
		return PDATE;
	}
	public void setPDATE(String pDATE) {
		PDATE = pDATE;
	}
	public String getPRODUCTCLASS() {
		return PRODUCTCLASS;
	}
	public void setPRODUCTCLASS(String pRODUCTCLASS) {
		PRODUCTCLASS = pRODUCTCLASS;
	}
	public Double getPRODUCTPRICE() {
		return PRODUCTPRICE;
	}
	public void setPRODUCTPRICE(Double pRODUCTPRICE) {
		PRODUCTPRICE = pRODUCTPRICE;
	}
	public String getPRODUCTID() {
		return PRODUCTID;
	}
	public void setPRODUCTID(String pRODUCTID) {
		PRODUCTID = pRODUCTID;
	}
	public String getGROUPID() {
		return GROUPID;
	}
	public void setGROUPID(String gROUPID) {
		GROUPID = gROUPID;
	}
	public Group getGroup() {
		return group;
	}
	public void setGroup(Group group) {
		this.group = group;
	}
	public Product(String pRODUCTNO, String pRODUCTNAME, String pDATE,
			String pRODUCTCLASS, Double pRODUCTPRICE, String pRODUCTID,
			String gROUPID, Group group) {
		super();
		PRODUCTNO = pRODUCTNO;
		PRODUCTNAME = pRODUCTNAME;
		PDATE = pDATE;
		PRODUCTCLASS = pRODUCTCLASS;
		PRODUCTPRICE = pRODUCTPRICE;
		PRODUCTID = pRODUCTID;
		GROUPID = gROUPID;
		this.group = group;
	}
	public Product() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Product [PRODUCTNO=" + PRODUCTNO + ", PRODUCTNAME="
				+ PRODUCTNAME + ", PDATE=" + PDATE + ", PRODUCTCLASS="
				+ PRODUCTCLASS + ", PRODUCTPRICE=" + PRODUCTPRICE
				+ ", PRODUCTID=" + PRODUCTID + ", GROUPID=" + GROUPID
				+ ", group=" + group + "]";
	}
	
}
